Xbasic
SQL::ArgumentsRemove Method
Syntax
Result_Flag as L = Remove(Name as C)
Arguments
- NameLogical
The unique name property of an argument. See the SQL::Argument class.
Description
Remove an argument from the collection.
Discussion
The Remove() method removes an argument from a SQL::Arguments object. Returns true (.t.) if the operation is successful and returns false (.f.) if it fails.
Example
dim args as SQL::Arguments args.add("city", "Boston") args.add("state", "MA") ? args.ArgumentNumber("state") = 2 ? args.remove("city") = .T. ? args.ArgumentNumber("state") = 1